<?php

use think\migration\Seeder;

class BasicControlModeData extends Seeder
{
    /**
     * 基本信息 - 管控方式
     */
    public function run()
    {
        $table = $this->table('basic_control_mode');
        $rows  = [
            [
                'id'   => '1',
                'name'   => '工业减排',
            ],
            [
                'id'   => '2',
                'name'   => '车辆限行',
            ],
            [
                'id'   => '3',
                'name'   => '施工管控',
            ],
            [
                'id'   => '4',
                'name'   => '道路抑尘',
            ],
        ];
        $table->insert($rows)->save();
    }
}